<!DOCTYPE html><html><head><title>我是车主新文档</title><meta charset='utf-8'><link href='https://d31qtcb7c58z3n.cloudfront.net/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h2 id="我是车主新文档">我是车主新文档</h2>

<div><div class="toc"><div class="toc">
<ul>
<li><ul>
<li><a href="#我是车主新文档">我是车主新文档</a><ul>
<li><a href="#通用接口">通用接口</a><ul>
<li><a href="#用户基本信息json">用户基本信息json</a></li>
<li><a href="#返回参数说明">返回参数说明</a></li>
<li><a href="#获取短信验证码">获取短信验证码</a></li>
<li><a href="#检测token是否正确">检测token是否正确</a></li>
<li><a href="#验证码登录">验证码登录</a></li>
<li><a href="#获取渠道信息">获取渠道信息</a></li>
<li><a href="#测试提交数据">测试提交数据</a></li>
<li><a href="#获取图片验证码">获取图片验证码</a></li>
<li><a href="#图片验证码领取优惠劵">图片验证码领取优惠劵</a></li>
<li><a href="#查询我的所有订单">查询我的所有订单</a></li>
</ul>
</li>
<li><a href="#至尊宝相关接口">至尊宝相关接口</a><ul>
<li><a href="#至尊宝登录">至尊宝登录</a></li>
<li><a href="#至尊宝订单创建">至尊宝订单创建</a></li>
<li><a href="#查询我的至尊宝订单列表">查询我的至尊宝订单列表</a></li>
<li><a href="#查询至尊宝订单详情">查询至尊宝订单详情</a></li>
<li><a href="#至尊宝申请服务接口">至尊宝申请服务接口</a></li>
<li><a href="#查询至尊宝的服务记录">查询至尊宝的服务记录</a></li>
</ul>
</li>
<li><a href="#车务宝相关接口">车务宝相关接口</a><ul>
<li><a href="#车务宝订单创建">车务宝订单创建</a></li>
<li><a href="#查询我的车务宝订单列表">查询我的车务宝订单列表</a></li>
<li><a href="#查询车务宝订单详情">查询车务宝订单详情</a></li>
<li><a href="#车务宝申请服务接口">车务宝申请服务接口</a></li>
<li><a href="#查询车务宝的服务记录">查询车务宝的服务记录</a></li>
</ul>
</li>
<li><a href="#车损宝相关接口">车损宝相关接口</a><ul>
<li><a href="#车损宝订单创建">车损宝订单创建</a></li>
<li><a href="#查询我的车损宝订单列表">查询我的车损宝订单列表</a></li>
<li><a href="#查询车损宝订单详情">查询车损宝订单详情</a></li>
<li><a href="#车损宝申请服务接口">车损宝申请服务接口</a></li>
<li><a href="#查询车损宝的服务记录">查询车损宝的服务记录</a></li>
</ul>
</li>
<li><a href="#优惠商品相关接口">优惠商品相关接口</a><ul>
<li><a href="#商品信息查询">商品信息查询</a></li>
<li><a href="#商品订单创建">商品订单创建</a></li>
<li><a href="#商品订单查询所有的">商品订单查询（所有的）</a></li>
<li><a href="#商品订单查询根据商品编号">商品订单查询（根据商品编号）</a></li>
</ul>
</li>
<li><a href="#漆保宝相关接口">漆保宝相关接口</a><ul>
<li><a href="#查询漆保宝详情">查询漆保宝详情</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>



<h3 id="通用接口">通用接口</h3>



<h4 id="用户基本信息json">用户基本信息json</h4>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"用户编号"</span></span>,<br>    "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"用户手机号"</span></span>,<br>    "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"用户姓名"</span></span>,<br>    "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">"用户登录后得到的token"</span><br></span>}<br></code></pre>



<h4 id="返回参数说明">返回参数说明</h4>

<p><a href="http://app.baoyitech.com.cn:7777/car_app_server/channel/get_code.jsp" target="_blank">状态码说明表</a> ,返回json,  格式如下:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"0"</span></span>,                     //返回码<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,                      //与返回码对应的消息<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{                        //返回的数据<br>        "<span class="hljs-attribute">order_id</span>":<span class="hljs-value"><span class="hljs-string">"test132343"</span></span>,<br>        "<span class="hljs-attribute">order_title</span>":<span class="hljs-value"><span class="hljs-string">"测试订单"</span><br>    </span>}<br></span>}<br></code></pre>

<hr>



<h4 id="获取短信验证码">获取短信验证码</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/Czwx/common/send_sms" target="_blank">http://wetest.baoyitech.com.cn/main.php/Czwx/common/send_sms</a></p>
</blockquote>

<p>提交的参数:  <br>
<strong>user_phone</strong> : 用户手机号</p>

<hr>



<h4 id="检测token是否正确">检测token是否正确</h4>

<p>检测token是否正确, 如果正确, 则返回用户的基本信息 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/Czwx/common/check_token" target="_blank">http://wetest.baoyitech.com.cn/main.php/Czwx/common/check_token</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>:  要检测的token</p>

<hr>



<h4 id="验证码登录">验证码登录</h4>

<p>检测短信验证码是否正确, 如果正确, 则返回用户基本信息 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/common/check_sms" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/common/check_sms</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>user_phone</strong>:用户手机编号 <br>
<strong>access_key</strong>:渠道编号, 选填 <br>
<strong>code</strong>:短信验证码</p>

<hr>



<h4 id="获取渠道信息">获取渠道信息</h4>

<p>根据渠道号,获致渠道信息 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/common/get_channel" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/common/get_channel</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>channel_id</strong>:渠道编号/开放的渠道编号(access_key) <br>
返回参数说明: <br>
<strong>name</strong>:渠道名称 <br>
<strong>descri</strong>:渠道描述 <br>
<strong>datetime</strong>:渠道创建时间戳(毫秒)</p>

<hr>



<h4 id="测试提交数据">测试提交数据</h4>

<p>用于测试提交的参数,提交什么, 返回什么 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://app.baoyitech.com.cn:7777/car_app_server/index.php/api/common/test_api" target="_blank">http://app.baoyitech.com.cn:7777/car_app_server/index.php/api/common/test_api</a></p>
</blockquote>



<h4 id="获取图片验证码">获取图片验证码</h4>

<p>直接Get访问, 得到验证码图片 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/common/create_verify_code" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/common/create_verify_code</a></p>
</blockquote>

<p>返回的字段如下</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"OK"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">key</span>": <span class="hljs-value"><span class="hljs-string">"Y4JEfT5PVA4Ru9AsmpadrwwJpcMXmC3k"</span></span>,<br>        "<span class="hljs-attribute">img</span>": <span class="hljs-value"><span class="hljs-string">"http://wetest.baoyitech.comk.jpg"</span><br>    </span>}<br></span>}<br></code></pre>

<p>提交的参数: <br>
<strong>key</strong>: 验证码对应的key <br>
<strong>img</strong>:验证码对应的图片链接</p>



<h4 id="图片验证码领取优惠劵">图片验证码领取优惠劵</h4>

<p>获取优惠劵(图片验证码版) <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/common/coupon_simple_exchange" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/common/coupon_simple_exchange</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>check_code</strong>: 图片验证码 <br>
<strong>check_key</strong>: 图片验证码对应的key, 通过”获取图片验证码”接口获取key和图片 <br>
<strong>access_key</strong>:渠道编号, 选填 <br>
<strong>user_phone</strong>:用户手机号 <br>
<strong>exchange_code</strong>:优惠劵兑换码</p>

<p>返回参数说明: <br>
<strong>coupon_price</strong>:优惠劵金额</p>



<h4 id="查询我的所有订单">查询我的所有订单</h4>

<p>查询我的所有订单 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/common/query_my_order" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/common/query_my_order</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 用户登录后得到的token</p>

<p>返回参数说明: <br>
<strong>order_url</strong>:  订单的详情链接地址 <br>
<strong>order_create_time</strong>: 订单时间字符串，已格式化，直接显示 <br>
<strong>order_state_str</strong>: 订单的状态字符串，直接显示 <br>
<strong>order_create_time_str</strong>: 订单时间的名称，如创建时间，购买时间等 <br>
<strong>order_id</strong>: 订单的编号 <br>
<strong>order_logo</strong>: 订单的logo图片 <br>
<strong>order_name</strong>: 订单的标题</p>

<hr>



<h3 id="至尊宝相关接口">至尊宝相关接口</h3>



<h4 id="至尊宝登录">至尊宝登录</h4>

<p>这个接口和一般的登录接口一样, 只是多了几个参数 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/login" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/login</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>user_phone</strong>: 用户的手机号码 <br>
<strong>code</strong>: 收到的手机验证码 <br>
<strong>car_plate_no</strong>: 车牌号码, 选填 <br>
<strong>car_brand_no</strong>: 车辆的品牌型号, 选填 <br>
<strong>car_reg_date</strong>: 车辆的注册日期, 选填 <br>
<strong>access_key</strong>: 渠道编号, 选填</p>

<hr>



<h4 id="至尊宝订单创建">至尊宝订单创建</h4>

<p>创建订单, 获取询价 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/create" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/create</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>car_plate_no</strong>: 车牌号码 <br>
<strong>car_brand_no</strong>: 汽车品牌瑾 <br>
<strong>car_reg_date</strong>: 注册日期 <br>
<strong>car_buy_price</strong>: 汽车购置价格 <br>
<strong>car_vin_no</strong>: 车架号 <br>
<strong>insurance_items</strong>:    传统车险选项,json <br>
<strong>fragment_items</strong>: 碎片化宝宝选项,json <br>
<strong>baoyang_items</strong>: 保养选项,json <br>
<strong>meirong_items</strong>: 美容选项,json <br>
<strong>car_agent_items</strong>:  车务代办选项,json</p>

<p>各选项的json说明, json是列表格式, 每个列表选项, 都有一个name属性, 选择了什么, 就添加什么, 如下传统车险选项的json例子</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">[<br>    {"<span class="hljs-attribute">name</span>":<span class="hljs-value"><span class="hljs-string">"车损险"</span></span>},<br>    {"<span class="hljs-attribute">name</span>":<span class="hljs-value"><span class="hljs-string">"交强险"</span></span>},<br>    {"<span class="hljs-attribute">name</span>":<span class="hljs-value"><span class="hljs-string">"车船税"</span></span>}<br>]<br></code></pre>

<hr>



<h4 id="查询我的至尊宝订单列表">查询我的至尊宝订单列表</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_my_list" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_my_list</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填</p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">meirong_items</span>": <span class="hljs-value">[<br>                {<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"漆面抛光封釉"</span><br>                </span>}<br>            ]</span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">order_price_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">car_agent_items</span>": <span class="hljs-value">[<br>                {<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"108元全年不限次数车务代办"</span><br>                </span>}<br>            ]</span>,<br>            "<span class="hljs-attribute">car_vin_no</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">baoyang_items</span>": <span class="hljs-value">[]</span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488162331855"</span></span>,<br>            "<span class="hljs-attribute">price_list</span>": <span class="hljs-value">[<br>                {<br>                    "<span class="hljs-attribute">price</span>": <span class="hljs-value"><span class="hljs-number">10</span></span>,<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"传统车险"</span></span>,<br>                    "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"10元备注"</span><br>                </span>},<br>                {<br>                    "<span class="hljs-attribute">price</span>": <span class="hljs-value"><span class="hljs-number">20</span></span>,<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"保障定制"</span></span>,<br>                    "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"20元备注"</span><br>                </span>}<br>            ]</span>,<br>            "<span class="hljs-attribute">pay_account_offline</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">car_buy_price</span>": <span class="hljs-value"><span class="hljs-string">"30W-40W "</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"18888888889"</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"Z2017022710253127603207"</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">status_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488162331855"</span></span>,<br>            "<span class="hljs-attribute">car_plate_no</span>": <span class="hljs-value"><span class="hljs-string">"粤A1298D"</span></span>,<br>            "<span class="hljs-attribute">car_engine_no</span>": <span class="hljs-value"><span class="hljs-string">"AEF982987090087283"</span></span>,<br>            "<span class="hljs-attribute">car_output_size</span>": <span class="hljs-value"><span class="hljs-string">"3L"</span></span>,<br>            "<span class="hljs-attribute">car_distance</span>": <span class="hljs-value"><span class="hljs-string">"30公里"</span></span>,<br>            "<span class="hljs-attribute">car_ins_desb</span>": <span class="hljs-value"><span class="hljs-string">"无"</span></span>,<br>            "<span class="hljs-attribute">car_age</span>":<span class="hljs-value"><span class="hljs-string">"5年"</span></span>,<br>            "<span class="hljs-attribute">start_time</span>":<span class="hljs-value"><span class="hljs-string">"1488162331855"</span></span>,<br>            "<span class="hljs-attribute">expire_time</span>":<span class="hljs-value"><span class="hljs-string">"1488162331855"</span></span>,<br>            "<span class="hljs-attribute">special_description</span>": <span class="hljs-value"><span class="hljs-string">"无"</span></span>,<br>            "<span class="hljs-attribute">pay_account_online</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">order_price</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">pay_price_offline</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">fragment_items</span>": <span class="hljs-value">[<br>                {<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"逃逸宝"</span><br>                </span>},<br>                {<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"轮胎宝"</span><br>                </span>}<br>            ]</span>,<br>            "<span class="hljs-attribute">car_brand_no</span>": <span class="hljs-value"><span class="hljs-string">"大众"</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015120211553914041634"</span></span>,<br>            "<span class="hljs-attribute">insurance_items</span>": <span class="hljs-value">[<br>                {<br>                    "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"车船税"</span><br>                </span>}<br>            ]</span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">pay_type_offline</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">car_reg_date</span>": <span class="hljs-value"><span class="hljs-string">"2015-2-21"</span></span>,<br>            "<span class="hljs-attribute">pay_type_online</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">4</span></span>,<br>            "<span class="hljs-attribute">pay_price_online</span>": <span class="hljs-value"><span class="hljs-number">0</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br></code></pre>

<p><strong>meirong_items</strong>美容定制列表,  name是选项名称 <br>
<strong>user_name</strong>用户姓名 <br>
<strong>remark</strong>备注 <br>
<strong>order_price_remark</strong>订单价格备注 <br>
<strong>car_agent_items</strong>车务代办选项, name是选项名称 <br>
<strong>car_vin_no</strong>车架号 <br>
<strong>baoyang_items</strong>保养定制选项, name是选项名称 <br>
<strong>update_time</strong>最后更新时间,(毫秒) <br>
<strong>price_list</strong>客服填写报价列表情况,  每个选项price子报价, name项名称, description项说明 <br>
<strong>pay_account_offline</strong>现下支付账号名称 <br>
<strong>car_buy_price</strong>车辆购置价格 <br>
<strong>user_phone</strong>用户手机号 <br>
<strong>id</strong>订单编号 <br>
<strong>upload_from</strong>下单渠道 <br>
<strong>status_remark</strong>订单状态说明 <br>
<strong>create_time</strong>订单创建时间(毫秒) <br>
<strong>car_plate_no</strong>车牌号码 <br>
<strong>car_engine_no</strong>发动机号 <br>
<strong>car_output_size</strong>汽车排量 <br>
<strong>car_distance</strong>行驶公里数 <br>
<strong>car_ins_desb</strong>上车出险说明 <br>
<strong>start_time</strong>保障开始时间(毫秒) <br>
<strong>expire_time</strong>保障结束时间(毫秒) <br>
<strong>special_description</strong>特殊说明 <br>
<strong>order_price</strong>订单总价格 <br>
<strong>pay_account_offline</strong>线上支付账号 <br>
<strong>fragment_items</strong>保障定制选项, name是选项名称 <br>
<strong>car_brand_no</strong>汽车品牌型号 <br>
<strong>user_id</strong>订单用户编号 <br>
<strong>insurance_items</strong>传统保险选项, name是选项名称 <br>
<strong>admin_id</strong>订单管理员编号 <br>
<strong>pay_type_offline</strong>现下支付类型 <br>
<strong>car_reg_date</strong>汽车注册日期 <br>
<strong>pay_type_online</strong>线上支付类型, 1-支付宝, 2-微信  <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>status</strong>订单状态,1-待验车报价,2-审核通过,3-待支付,4-服务中,5-审核不通过,6-订单过期,7-订单关闭 <br>
<strong>pay_price_online</strong>: 线上支付的价格</p>

<hr>



<h4 id="查询至尊宝订单详情">查询至尊宝订单详情</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_detail" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_detail</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>id</strong>:订单编号  <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
返回数据和至尊宝订单列表字段相同 </p>

<hr>



<h4 id="至尊宝申请服务接口">至尊宝申请服务接口</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/create_settle" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/create_settle</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<hr>



<h4 id="查询至尊宝的服务记录">查询至尊宝的服务记录</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_my_settle_by_zzb_id" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/zhizunbao/query_my_settle_by_zzb_id</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">solution_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">zhizunbao_id</span>": <span class="hljs-value"><span class="hljs-string">"Z2017022710253127603207"</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"ZS2017022714530351475122"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">problem_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">settle_price</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015120211553914041634"</span></span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br><br></code></pre>

<p>字段说明 <br>
<strong>solution_description</strong>解决情况描述 <br>
<strong>zhizunbao_id</strong>对应的至尊宝编号 <br>
<strong>remark</strong>备注 <br>
<strong>solution_description_img_01</strong>解决情况相关图片01 <br>
<strong>solution_description_img_02</strong>解决情况相关图片02 <br>
<strong>solution_description_img_03</strong>解决情况相关图片03 <br>
<strong>solution_description_img_04</strong>解决情况相关图片04 <br>
<strong>solution_description_img_05</strong>解决情况相关图片05 <br>
<strong>solution_description_img_06</strong>解决情况相关图片06 <br>
<strong>solution_description_img_07</strong>解决情况相关图片07 <br>
<strong>solution_description_img_08</strong>解决情况相关图片08 <br>
<strong>id</strong>理赔编号 <br>
<strong>upload_from</strong>提交的渠道 <br>
<strong>problem_description</strong>问题描述 <br>
<strong>create_time</strong>创建时间(毫秒) <br>
<strong>settle_price</strong>理赔价格 <br>
<strong>user_id</strong>用户的编号 <br>
<strong>admin_id</strong>后台管理员编号 <br>
<strong>problem_description_img_01</strong>问题相关图片01 <br>
<strong>problem_description_img_02</strong>问题相关图片02 <br>
<strong>problem_description_img_03</strong>问题相关图片03 <br>
<strong>problem_description_img_04</strong>问题相关图片04 <br>
<strong>problem_description_img_05</strong>问题相关图片05 <br>
<strong>problem_description_img_06</strong>问题相关图片06 <br>
<strong>problem_description_img_07</strong>问题相关图片07 <br>
<strong>problem_description_img_08</strong>问题相关图片08 <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>status</strong>理赔状态,1-待审核, 2-服务中, 3-审核不通过, 4-服务完成, 5-已关闭</p>

<hr>



<h3 id="车务宝相关接口">车务宝相关接口</h3>



<h4 id="车务宝订单创建">车务宝订单创建</h4>

<p>创建订单并进行支付 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/create" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/create</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>car_plate_no</strong>: 车牌号码 <br>
<strong>city</strong>: 下单城市 <br>
<strong>return_url</strong>: 支付成功后跳转的地址 <br>
////方式一/// <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>code</strong>: 手机验证码 <br>
////方式二// <br>
<strong>token</strong>:已经登录的获得的token</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">user</span>": <span class="hljs-value">{<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"李福赞"</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>            "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">"c416609fb4bb4c8d9cb134f81905112a99cA"</span><br>        </span>}</span>,<br>        "<span class="hljs-attribute">order_id</span>": <span class="hljs-value"><span class="hljs-string">"P2017030615241076022513"</span></span>,<br>        "<span class="hljs-attribute">order_price</span>":<span class="hljs-value"><span class="hljs-number">0.01</span><br>        <span class="hljs-string">"pay_data"</span>: <span class="hljs-string">"http:///BX.....V"</span><br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"创建订单成功"</span><br></span>}<br></code></pre>

<p><strong>user</strong>: 用户的登录数据,将token信息保存起来 <br>
<strong>order_id</strong>: 订单编号 <br>
<strong>order_price</strong>:订单价格(调试方便看) <br>
<strong>pay_data</strong>: 支付url地址, 客户端直接重定向到此地址</p>

<hr>



<h4 id="查询我的车务宝订单列表">查询我的车务宝订单列表</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_my_list" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_my_list</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填</p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">order_title</span>": <span class="hljs-value"><span class="hljs-string">"车务宝"</span></span>,<br>            "<span class="hljs-attribute">city</span>": <span class="hljs-value"><span class="hljs-string">"广州市"</span></span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"李福赞"</span></span>,<br>            "<span class="hljs-attribute">order_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">order_price_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">pay_account</span>": <span class="hljs-value"><span class="hljs-string">"test"</span></span>,<br>            "<span class="hljs-attribute">available_month</span>": <span class="hljs-value"><span class="hljs-number">12</span></span>,<br>            "<span class="hljs-attribute">car_vin_no</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793248920"</span></span>,<br>            "<span class="hljs-attribute">car_buy_price</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>            "<span class="hljs-attribute">pay_type</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"C2017030617404806607774"</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">status_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">pay_price</span>": <span class="hljs-value"><span class="hljs-number">108</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793248920"</span></span>,<br>            "<span class="hljs-attribute">car_plate_no</span>": <span class="hljs-value"><span class="hljs-string">"粤A12343"</span></span>,<br>            "<span class="hljs-attribute">expire_time</span>": <span class="hljs-value"><span class="hljs-string">"1520265538000"</span></span>,<br>            "<span class="hljs-attribute">order_price</span>": <span class="hljs-value"><span class="hljs-number">108</span></span>,<br>            "<span class="hljs-attribute">pay_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793463875"</span></span>,<br>            "<span class="hljs-attribute">start_time</span>": <span class="hljs-value"><span class="hljs-string">"1488729660000"</span></span>,<br>            "<span class="hljs-attribute">car_brand_no</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">car_reg_date</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">max_use_time</span>": <span class="hljs-value"><span class="hljs-number">8000</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">2</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br></code></pre>

<p><strong>order_title</strong>订单标题 <br>
<strong>city</strong>订单城市 <br>
<strong>user_name</strong>用户姓名 <br>
<strong>order_description</strong>订单描述 <br>
<strong>remark</strong>订单备注 <br>
<strong>order_price_remark</strong>订单价格备注 <br>
<strong>pay_account</strong>支付账号 <br>
<strong>available_month</strong>保障时长,单位月份 <br>
<strong>car_vin_no</strong>车架号 <br>
<strong>update_time</strong>最后更新时间,时间戳 <br>
<strong>car_buy_price</strong>车辆购置价格 <br>
<strong>user_phone</strong>用户手机号 <br>
<strong>pay_type</strong>支付方式,1-支付宝,2-微信 <br>
<strong>id</strong>订单编号 <br>
<strong>upload_from</strong>下单渠道 <br>
<strong>status_remark</strong>订单状态说明 <br>
<strong>pay_price</strong>实际支付价格 <br>
<strong>create_time</strong>订单创建时间(毫秒) <br>
<strong>car_plate_no</strong>车牌号码 <br>
<strong>expire_time</strong>保障失效时间(毫秒) <br>
<strong>order_price</strong>订单价格 <br>
<strong>pay_time</strong>支付时间(毫秒) <br>
<strong>start_time</strong>保障开始时间(毫秒) <br>
<strong>car_brand_no</strong>品牌型号 <br>
<strong>user_id</strong>用户编号 <br>
<strong>admin_id</strong>管理员编号 <br>
<strong>car_reg_date</strong>汽车注册时间 <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>max_use_time</strong>最多使用次数 <br>
<strong>status</strong>订单状态, 2-支付,3-已过期失效,4-已强制关闭,5-已退款</p>

<hr>



<h4 id="查询车务宝订单详情">查询车务宝订单详情</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_detail" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_detail</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>id</strong>:订单编号  <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
返回数据和车务宝订单列表字段相同 </p>

<hr>



<h4 id="车务宝申请服务接口">车务宝申请服务接口</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/create_settle" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/create_settle</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<hr>



<h4 id="查询车务宝的服务记录">查询车务宝的服务记录</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_my_settle_by_cwb_id" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chewubao/query_my_settle_by_cwb_id</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">solution_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">chewubao_id</span>": <span class="hljs-value"><span class="hljs-string">"C2017030617404806607774"</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"CS2017030709122201664017"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">problem_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">settle_price</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015120211553914041634"</span></span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br><br></code></pre>

<p>字段说明 <br>
<strong>solution_description</strong>解决情况描述 <br>
<strong>chewubao_id</strong>对应的车务宝编号 <br>
<strong>remark</strong>备注 <br>
<strong>solution_description_img_01</strong>解决情况相关图片01 <br>
<strong>solution_description_img_02</strong>解决情况相关图片02 <br>
<strong>solution_description_img_03</strong>解决情况相关图片03 <br>
<strong>solution_description_img_04</strong>解决情况相关图片04 <br>
<strong>solution_description_img_05</strong>解决情况相关图片05 <br>
<strong>solution_description_img_06</strong>解决情况相关图片06 <br>
<strong>solution_description_img_07</strong>解决情况相关图片07 <br>
<strong>solution_description_img_08</strong>解决情况相关图片08 <br>
<strong>id</strong>理赔编号 <br>
<strong>upload_from</strong>提交的渠道 <br>
<strong>problem_description</strong>问题描述 <br>
<strong>create_time</strong>创建时间(毫秒) <br>
<strong>settle_price</strong>理赔价格 <br>
<strong>user_id</strong>用户的编号 <br>
<strong>admin_id</strong>后台管理员编号 <br>
<strong>problem_description_img_01</strong>问题相关图片01 <br>
<strong>problem_description_img_02</strong>问题相关图片02 <br>
<strong>problem_description_img_03</strong>问题相关图片03 <br>
<strong>problem_description_img_04</strong>问题相关图片04 <br>
<strong>problem_description_img_05</strong>问题相关图片05 <br>
<strong>problem_description_img_06</strong>问题相关图片06 <br>
<strong>problem_description_img_07</strong>问题相关图片07 <br>
<strong>problem_description_img_08</strong>问题相关图片08 <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>status</strong>理赔状态,1-待审核, 2-服务中, 3-服务完成, 4-服务关闭</p>

<hr>



<h3 id="车损宝相关接口">车损宝相关接口</h3>



<h4 id="车损宝订单创建">车损宝订单创建</h4>

<p>创建订单并进行支付 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/create" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/create</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>car_plate_no</strong>: 车牌号码 <br>
<strong>city</strong>: 下单城市 <br>
<strong>return_url</strong>: 支付成功后跳转的地址 <br>
////方式一/// <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>code</strong>: 手机验证码 <br>
////方式二// <br>
<strong>token</strong>:已经登录的获得的token</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">user</span>": <span class="hljs-value">{<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"李福赞"</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>            "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">"c416609fb4bb4c8d9cb134f81905112a99cA"</span><br>        </span>}</span>,<br>        "<span class="hljs-attribute">order_id</span>": <span class="hljs-value"><span class="hljs-string">"P2017030615241076022513"</span></span>,<br>        "<span class="hljs-attribute">order_price</span>":<span class="hljs-value"><span class="hljs-number">0.01</span><br>        <span class="hljs-string">"pay_data"</span>: <span class="hljs-string">"http:///BX.....V"</span><br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"创建订单成功"</span><br></span>}<br></code></pre>

<p><strong>user</strong>: 用户的登录数据,将token信息保存起来 <br>
<strong>order_id</strong>: 订单编号 <br>
<strong>order_price</strong>:订单价格(调试方便看) <br>
<strong>pay_data</strong>: 支付url地址, 客户端直接重定向到此地址</p>

<hr>



<h4 id="查询我的车损宝订单列表">查询我的车损宝订单列表</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_my_list" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_my_list</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填</p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">order_title</span>": <span class="hljs-value"><span class="hljs-string">"车务宝"</span></span>,<br>            "<span class="hljs-attribute">city</span>": <span class="hljs-value"><span class="hljs-string">"广州市"</span></span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"李福赞"</span></span>,<br>            "<span class="hljs-attribute">order_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">order_price_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">pay_account</span>": <span class="hljs-value"><span class="hljs-string">"test"</span></span>,<br>            "<span class="hljs-attribute">available_month</span>": <span class="hljs-value"><span class="hljs-number">12</span></span>,<br>            "<span class="hljs-attribute">car_vin_no</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793248920"</span></span>,<br>            "<span class="hljs-attribute">car_buy_price</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>            "<span class="hljs-attribute">pay_type</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"SU2017030617404806607774"</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">status_remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">pay_price</span>": <span class="hljs-value"><span class="hljs-number">108</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793248920"</span></span>,<br>            "<span class="hljs-attribute">car_plate_no</span>": <span class="hljs-value"><span class="hljs-string">"粤A12343"</span></span>,<br>            "<span class="hljs-attribute">expire_time</span>": <span class="hljs-value"><span class="hljs-string">"1520265538000"</span></span>,<br>            "<span class="hljs-attribute">order_price</span>": <span class="hljs-value"><span class="hljs-number">108</span></span>,<br>            "<span class="hljs-attribute">pay_time</span>": <span class="hljs-value"><span class="hljs-string">"1488793463875"</span></span>,<br>            "<span class="hljs-attribute">start_time</span>": <span class="hljs-value"><span class="hljs-string">"1488729660000"</span></span>,<br>            "<span class="hljs-attribute">car_brand_no</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">car_reg_date</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">max_use_price</span>": <span class="hljs-value"><span class="hljs-number">1000.0</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">2</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br></code></pre>

<p><strong>order_title</strong>订单标题 <br>
<strong>city</strong>订单城市 <br>
<strong>user_name</strong>用户姓名 <br>
<strong>order_description</strong>订单描述 <br>
<strong>remark</strong>订单备注 <br>
<strong>order_price_remark</strong>订单价格备注 <br>
<strong>pay_account</strong>支付账号 <br>
<strong>available_month</strong>保障时长,单位月份 <br>
<strong>car_vin_no</strong>车架号 <br>
<strong>update_time</strong>最后更新时间,时间戳 <br>
<strong>car_buy_price</strong>车辆购置价格 <br>
<strong>user_phone</strong>用户手机号 <br>
<strong>pay_type</strong>支付方式,1-支付宝,2-微信 <br>
<strong>id</strong>订单编号 <br>
<strong>upload_from</strong>下单渠道 <br>
<strong>status_remark</strong>订单状态说明 <br>
<strong>pay_price</strong>实际支付价格 <br>
<strong>create_time</strong>订单创建时间(毫秒) <br>
<strong>car_plate_no</strong>车牌号码 <br>
<strong>expire_time</strong>保障失效时间(毫秒) <br>
<strong>order_price</strong>订单价格 <br>
<strong>pay_time</strong>支付时间(毫秒) <br>
<strong>start_time</strong>保障开始时间(毫秒) <br>
<strong>car_brand_no</strong>品牌型号 <br>
<strong>user_id</strong>用户编号 <br>
<strong>admin_id</strong>管理员编号 <br>
<strong>car_reg_date</strong>汽车注册时间 <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>max_use_price</strong>最多可赔多少金额  <br>
<strong>status</strong>订单状态, 2-支付,3-已过期失效,4-已强制关闭,5-已退款</p>

<hr>



<h4 id="查询车损宝订单详情">查询车损宝订单详情</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_detail" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_detail</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>id</strong>:订单编号  <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
返回数据和车损宝订单列表字段相同 </p>

<hr>



<h4 id="车损宝申请服务接口">车损宝申请服务接口</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/create_settle" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/create_settle</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<hr>



<h4 id="查询车损宝的服务记录">查询车损宝的服务记录</h4>

<p>接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_my_settle_by_csb_id" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/chesunbao/query_my_settle_by_csb_id</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>token</strong>: 登录后的token <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>id</strong>:订单编号 </p>

<p>返回数据:</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">[<br>        {<br>            "<span class="hljs-attribute">solution_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">chesunbao_id</span>": <span class="hljs-value"><span class="hljs-string">"SU2017030617404806607774"</span></span>,<br>            "<span class="hljs-attribute">remark</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"CS2017030709122201664017"</span></span>,<br>            "<span class="hljs-attribute">solution_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"我是车主"</span></span>,<br>            "<span class="hljs-attribute">problem_description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1488178383469"</span></span>,<br>            "<span class="hljs-attribute">settle_price</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015120211553914041634"</span></span>,<br>            "<span class="hljs-attribute">admin_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_05</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_06</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_07</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_08</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_01</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">channel_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_02</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_03</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>            "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>            "<span class="hljs-attribute">problem_description_img_04</span>": <span class="hljs-value"><span class="hljs-string">""</span><br>        </span>}<br>    ]</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br><br></code></pre>

<p>字段说明 <br>
<strong>solution_description</strong>解决情况描述 <br>
<strong>chesunbao_id</strong>对应的车损宝编号 <br>
<strong>remark</strong>备注 <br>
<strong>solution_description_img_01</strong>解决情况相关图片01 <br>
<strong>solution_description_img_02</strong>解决情况相关图片02 <br>
<strong>solution_description_img_03</strong>解决情况相关图片03 <br>
<strong>solution_description_img_04</strong>解决情况相关图片04 <br>
<strong>solution_description_img_05</strong>解决情况相关图片05 <br>
<strong>solution_description_img_06</strong>解决情况相关图片06 <br>
<strong>solution_description_img_07</strong>解决情况相关图片07 <br>
<strong>solution_description_img_08</strong>解决情况相关图片08 <br>
<strong>id</strong>理赔编号 <br>
<strong>upload_from</strong>提交的渠道 <br>
<strong>problem_description</strong>问题描述 <br>
<strong>create_time</strong>创建时间(毫秒) <br>
<strong>settle_price</strong>理赔价格 <br>
<strong>user_id</strong>用户的编号 <br>
<strong>admin_id</strong>后台管理员编号 <br>
<strong>problem_description_img_01</strong>问题相关图片01 <br>
<strong>problem_description_img_02</strong>问题相关图片02 <br>
<strong>problem_description_img_03</strong>问题相关图片03 <br>
<strong>problem_description_img_04</strong>问题相关图片04 <br>
<strong>problem_description_img_05</strong>问题相关图片05 <br>
<strong>problem_description_img_06</strong>问题相关图片06 <br>
<strong>problem_description_img_07</strong>问题相关图片07 <br>
<strong>problem_description_img_08</strong>问题相关图片08 <br>
<strong>channel_id</strong>渠道编号 <br>
<strong>status</strong>理赔状态,1-待审核, 2-服务中, 3-服务完成, 4-服务关闭</p>

<hr>



<h3 id="优惠商品相关接口">优惠商品相关接口</h3>



<h4 id="商品信息查询">商品信息查询</h4>

<p>查询商品的详细信息 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_goods_detail" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_goods_detail</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>goods_id</strong>: 商品编号</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">start_time</span>": <span class="hljs-value"><span class="hljs-string">"1491983400000"</span></span>,<br>        "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1491983625902"</span></span>,<br>        "<span class="hljs-attribute">amount</span>": <span class="hljs-value"><span class="hljs-string">"1000"</span></span>,<br>        "<span class="hljs-attribute">left_amount</span>": <span class="hljs-value"><span class="hljs-string">"50"</span></span>,<br>        "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1491983625902"</span></span>,<br>        "<span class="hljs-attribute">seller_name</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,<br>        "<span class="hljs-attribute">sets</span>": <span class="hljs-value">[<br>            {<br>                "<span class="hljs-attribute">start_time</span>": <span class="hljs-value"><span class="hljs-string">"1491983400000"</span></span>,<br>                "<span class="hljs-attribute">update_time</span>": <span class="hljs-value"><span class="hljs-string">"1491985172479"</span></span>,<br>                "<span class="hljs-attribute">amount</span>": <span class="hljs-value"><span class="hljs-string">"1000"</span></span>,<br>                "<span class="hljs-attribute">left_amount</span>": <span class="hljs-value"><span class="hljs-string">"50"</span></span>,<br>                "<span class="hljs-attribute">create_time</span>": <span class="hljs-value"><span class="hljs-string">"1491985172479"</span></span>,<br>                "<span class="hljs-attribute">price</span>": <span class="hljs-value"><span class="hljs-string">"1188.0"</span></span>,<br>                "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"6幅喷漆"</span></span>,<br>                "<span class="hljs-attribute">end_time</span>": <span class="hljs-value"><span class="hljs-string">"1492358340000"</span></span>,<br>                "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"6幅喷漆"</span></span>,<br>                "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"S2017041216193231417011"</span></span>,<br>                "<span class="hljs-attribute">state</span>": <span class="hljs-value"><span class="hljs-string">"1"</span><br>            </span>}<br>        ]</span>,<br>        "<span class="hljs-attribute">extra_data</span>": <span class="hljs-value">[]</span>,<br>        "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"喷漆特惠"</span></span>,<br>        "<span class="hljs-attribute">end_time</span>": <span class="hljs-value"><span class="hljs-string">"1492358340000"</span></span>,<br>        "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"喷漆特惠"</span></span>,<br>        "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"G2017041215534545742525"</span></span>,<br>        "<span class="hljs-attribute">state</span>": <span class="hljs-value"><span class="hljs-string">"1"</span><br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"查询成功"</span><br></span>}<br></code></pre>

<p><strong>start_time</strong>: 商品的上架时间 <br>
<strong>end_time</strong>: 商品的下架时间 <br>
<strong>update_time</strong>: 商品信息更新时间 <br>
<strong>create_time</strong>: 商品信息创建时间 <br>
<strong>seller_name</strong>: 商品的卖家名称 <br>
<strong>name</strong>: 商品的名称 <br>
<strong>amount</strong>: 商品的总库存量 <br>
<strong>left_amount</strong>: 商品的剩余存量 <br>
<strong>description</strong>: 商品的描述 <br>
<strong>id</strong>: 商品的编号 <br>
<strong>state</strong>: 商品的状态，1-正常 <br>
<strong>extra_data</strong>: 额外商品属性，暂无 <br>
<strong>sets</strong>: 商品的套餐列表 <br>
 <strong>start_time</strong>: 套餐上架时间 <br>
 <strong>end_time</strong>: 套餐下架时间 <br>
 <strong>create_time</strong>: 套餐信息创建时间 <br>
 <strong>update_time</strong>: 套餐信息更新时间 <br>
 <strong>amount</strong>: 套餐的总库存量 <br>
 <strong>left_amount</strong>: 套餐的剩余存量 <br>
 <strong>name</strong>: 套餐的名称 <br>
 <strong>id</strong>: 套餐的编号 <br>
 <strong>description</strong>: 套餐的描述 <br>
 <strong>state</strong>: 套餐的状态，1-正常 <br>
 <strong>price</strong>: 套餐的价格</p>

<hr>



<h4 id="商品订单创建">商品订单创建</h4>

<p>创建订单并进行支付 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/goods/create_goods_order" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/goods/create_goods_order</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>goods_id</strong>: 要购买的商品编号 <br>
<strong>set_id</strong>:要购买商品下的套餐编号 <br>
<strong>return_url</strong>: 支付成功后跳转的地址 <br>
////方式一/// <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>code</strong>: 手机验证码 <br>
////方式二// <br>
<strong>token</strong>:已经登录的获得的token</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">user</span>": <span class="hljs-value">{<br>            "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>            "<span class="hljs-attribute">user_name</span>": <span class="hljs-value"><span class="hljs-string">"李福赞"</span></span>,<br>            "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>            "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">"c416609fb4bb4c8d9cb134f81905112a99cA"</span><br>        </span>}</span>,<br>        "<span class="hljs-attribute">order_id</span>": <span class="hljs-value"><span class="hljs-string">"P2017030615241076022513"</span></span>,<br>        "<span class="hljs-attribute">order_price</span>":<span class="hljs-value"><span class="hljs-number">0.01</span><br>        <span class="hljs-string">"pay_data"</span>: <span class="hljs-string">"http:///BX.....V"</span><br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">"创建订单成功"</span><br></span>}<br></code></pre>

<p><strong>user</strong>: 用户的登录数据,将token信息保存起来 <br>
<strong>order_id</strong>: 订单编号 <br>
<strong>order_price</strong>:订单价格(调试方便看) <br>
<strong>pay_data</strong>: 支付url地址, 客户端直接重定向到此地址</p>



<h4 id="商品订单查询所有的">商品订单查询（所有的）</h4>

<p>根据商品编号，查询与之相关的商品订单 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_my_orders" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_my_orders</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>token</strong>:已经登录的获得的token</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">cur_idx</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>        "<span class="hljs-attribute">cur_page</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">all_page</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">all_count</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">page_size</span>": <span class="hljs-value"><span class="hljs-number">20</span></span>,<br>        "<span class="hljs-attribute">list</span>": <span class="hljs-value">[<br>            {<br>                "<span class="hljs-attribute">order_title</span>": <span class="hljs-value"><span class="hljs-string">"【喷漆特惠】6幅喷漆【￥1188.0×1】"</span></span>,<br>                "<span class="hljs-attribute">amount</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>                "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>                "<span class="hljs-attribute">goods_id</span>": <span class="hljs-value"><span class="hljs-string">"G2017041215534545742525"</span></span>,<br>                "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>                "<span class="hljs-attribute">set_id</span>": <span class="hljs-value"><span class="hljs-string">"S2017041216193231417011"</span></span>,<br>                "<span class="hljs-attribute">order_price</span>": <span class="hljs-value"><span class="hljs-string">"1188.0"</span></span>,<br>                "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"G2017041309494444404636"</span></span>,<br>                "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"公众号W"</span></span>,<br>                "<span class="hljs-attribute">set_price</span>": <span class="hljs-value"><span class="hljs-string">"1188.0"</span></span>,<br>                "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>,<br>                "<span class="hljs-attribute">pay_time</span>": <span class="hljs-value"><span class="hljs-string">"1492049054556"</span><br>            </span>}<br>        ]<br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">""</span><br></span>}<br></code></pre>

<p><strong>order_title</strong>: 订单标题 <br>
<strong>id</strong>: 订单编号 <br>
<strong>order_price</strong>: 订单总价格（套餐单价*购买数量） <br>
<strong>pay_time</strong>: 支付时间 <br>
<strong>amount</strong>: 购买商品数 <br>
<strong>goods_id</strong>:商品编号 <br>
<strong>set_id</strong>:对应于商品的套餐编号 <br>
<strong>set_id</strong>:对应于商品的套餐编号 <br>
<strong>set_price</strong>: 套餐单价 <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>status</strong>: 订单状态，2-已支付</p>

<hr>



<h4 id="商品订单查询根据商品编号">商品订单查询（根据商品编号）</h4>

<p>根据商品编号，查询与之相关的商品订单 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_my_order_by_goods_id" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/goods/query_my_order_by_goods_id</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>access_key</strong>: 渠道编号, 选填 <br>
<strong>token</strong>:已经登录的获得的token <br>
<strong>goods_id</strong>:商品编号</p>

<p>返回参数说明</p>



<pre class="prettyprint hljs-dark"><code class="language-json hljs">{<br>    "<span class="hljs-attribute">c</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>    "<span class="hljs-attribute">d</span>": <span class="hljs-value">{<br>        "<span class="hljs-attribute">cur_idx</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,<br>        "<span class="hljs-attribute">cur_page</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">all_page</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">all_count</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,<br>        "<span class="hljs-attribute">page_size</span>": <span class="hljs-value"><span class="hljs-number">20</span></span>,<br>        "<span class="hljs-attribute">list</span>": <span class="hljs-value">[<br>            {<br>                "<span class="hljs-attribute">order_title</span>": <span class="hljs-value"><span class="hljs-string">"【喷漆特惠】6幅喷漆【￥1188.0×1】"</span></span>,<br>                "<span class="hljs-attribute">amount</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,<br>                "<span class="hljs-attribute">user_id</span>": <span class="hljs-value"><span class="hljs-string">"2015110309550201277244"</span></span>,<br>                "<span class="hljs-attribute">goods_id</span>": <span class="hljs-value"><span class="hljs-string">"G2017041215534545742525"</span></span>,<br>                "<span class="hljs-attribute">user_phone</span>": <span class="hljs-value"><span class="hljs-string">"15622231934"</span></span>,<br>                "<span class="hljs-attribute">set_id</span>": <span class="hljs-value"><span class="hljs-string">"S2017041216193231417011"</span></span>,<br>                "<span class="hljs-attribute">order_price</span>": <span class="hljs-value"><span class="hljs-string">"1188.0"</span></span>,<br>                "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"G2017041309494444404636"</span></span>,<br>                "<span class="hljs-attribute">upload_from</span>": <span class="hljs-value"><span class="hljs-string">"公众号W"</span></span>,<br>                "<span class="hljs-attribute">set_price</span>": <span class="hljs-value"><span class="hljs-string">"1188.0"</span></span>,<br>                "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>,<br>                "<span class="hljs-attribute">pay_time</span>": <span class="hljs-value"><span class="hljs-string">"1492049054556"</span><br>            </span>}<br>        ]<br>    </span>}</span>,<br>    "<span class="hljs-attribute">m</span>": <span class="hljs-value"><span class="hljs-string">""</span><br></span>}<br></code></pre>

<p><strong>order_title</strong>: 订单标题 <br>
<strong>id</strong>: 订单编号 <br>
<strong>order_price</strong>: 订单总价格（套餐单价*购买数量） <br>
<strong>pay_time</strong>: 支付时间 <br>
<strong>amount</strong>: 购买商品数 <br>
<strong>goods_id</strong>:商品编号 <br>
<strong>set_id</strong>:对应于商品的套餐编号 <br>
<strong>set_id</strong>:对应于商品的套餐编号 <br>
<strong>set_price</strong>: 套餐单价 <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>status</strong>: 订单状态，2-已支付</p>

<hr>

<h3 id="漆保宝相关接口">漆保宝相关接口</h3>

<h4 id="查询漆保宝详情">查询漆保宝详情</h4>

<p>查询漆保宝详情 <br>
接口地址:</p>

<blockquote>
  <p><a href="http://wetest.baoyitech.com.cn/main.php/czwx/qibaobao/query_by_id" target="_blank">http://wetest.baoyitech.com.cn/main.php/czwx/qibaobao/query_by_id</a></p>
</blockquote>

<p>提交的参数: <br>
<strong>id</strong>: 漆保宝编号</p>

<p>返回参数说明 ： <br>
<strong>start_time</strong>: 保障开始时间戳 <br>
<strong>qbb_content</strong>: 保障内容 <br>
<strong>pay_price</strong>: 支付价格 <br>
<strong>user_name</strong>: 姓名 <br>
<strong>car_plate_no</strong>: 车牌号码 <br>
<strong>end_time</strong>: 保障结束时间戳 <br>
<strong>user_phone</strong>: 用户手机号 <br>
<strong>status_str</strong>: 订单状态字符串，对应订单状态 <br>
<strong>order_price</strong>: 订单价格 <br>
<strong>id</strong>: 订单编号 <br>
<strong>tips</strong>: 重要提示 <br>
<strong>status</strong>: 订单状态</p></div></body></html>